package com.hyou.starter.autoconfigure.transaction;

import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * 事务管理相关的自动注入配置类
 * 
 * @author FengChangshuo
 * @version 1.0.0 2018-03-22 11:44:52 初始创建
 */
@Configuration
@ConditionalOnClass(org.apache.tomcat.jdbc.pool.DataSource.class)
@ConditionalOnProperty(prefix = "hyou", name = "transaction", matchIfMissing = true)
@Import(TransactionBaseConfiguration.class)
public class TransactionTomcatAutoConfiguration {
    
    // for tomcat jdbc datasource
    
}
